export const BlockchainConfig = {
	inline: false,
	showBtn: false,
	labelPosition: 'left',
	isBlockchain: true,
	blockchainProp: 'onBlockchainFlag',
	column: [
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '最新一条上链数据',
			span: 24,
		},
		{
			label: '链码名称',
			prop: 'chaincodeName',

			span: 8,
		},
		{
			label: '交易ID',
			prop: 'txId',
			span: 8,
		},
		{
			label: '交易时间戳',
			prop: 'txTimestamp',
			type: 'date',
			format: 'YYYY年MM月DD日',
			valueFormat: 'YYYY-MM-DD',
			span: 8,
		},
		{
			label: '交易组织ID',
			prop: 'mspID',
			span: 8,
		},
		{
			label: '交易是否合法',
			prop: 'isValid',
			// select:'tag',
			// dicData:[
			//     {label:"不合法",value:'false',type:'danger'},
			//     {label:"合法",value:'true',type:'success'},
			// ],
			span: 8,
		},
		{
			label: '查询区块高度',
			prop: 'height',
			span: 8,
		},
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '当前上链数据',
			span: 24,
		},

		{ label: '当前所在单位统一信用代码', prop: 'creditCode', span: 8 },
		{ label: '当前所在单位所在区域', prop: 'unitAddress', span: 8 },
		{ label: '出生日期', prop: 'birthday', span: 8 },
		{
			label: '文化程度',
			prop: 'cultureDegree',
			propName: 'cultureDegreeLabel',
			type: 'remoteSelect',
			code: 'EDUCATION_DEGREE',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			span: 8,
		},
		{
			label: '证件类型',
			prop: 'certificateType',
			propName: 'certificateTypeLabel',
			type: 'remoteSelect',
			code: 'ID_CARD_TYPE',
			api: 'getDictItemList',
			filterKey: 'value',
			changeField: true,
			multiple: false,
			span: 8,
		},
		{ label: '证件号码', prop: 'idCard', span: 8 },
		{ label: '户籍地区', prop: 'crAreasName', span: 8 },
		{ label: '现居地区', prop: 'areasName', span: 8 },
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '上链记录',
			span: 24,
		},
	],
}
